package com.hxzy.shop.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("分销全局规则")
public class DistributionGlobalRule implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 结算点 1支付成功 2订单完成
     */
    @ApiModelProperty("结算点 1支付成功 2订单完成")
    private Integer settlementPoint;

    /**
     * 提现门槛
     */
    @ApiModelProperty("提现门槛")
    private BigDecimal withdrawLimit;

    /**
     * 单人每次最小提现金额
     */
    @ApiModelProperty("单人每次最小提现金额")
    private BigDecimal singleWithdrawLimt;

    /**
     * 商户id
     */
    @ApiModelProperty("商户id")
    private Long merchantId;

}
